package Dao;

import java.util.List;
import DoMain.Food;

public interface FoodDao {

	public List<Food> getAll();
	
	public void save(Food food);
	
	public void delete(Integer foodNo);
	
	public void update(Food food);
	
	public Food get(Integer foodNo);
	
	public long getCountWithName(String name);

	public List<Food> getForListWithCriteriaFood(CriteriaFood cf);
	
	public List<Food> getList(Integer foodNo);
	
	public long getTotalCount();
	
	public List<Food> getPage(int begin,int end);
	
	public List<Food> getAccountant();
	
	public List<Food> getAccountAll(int begin,int end);
	
}
